traffic-type gtpu
Configures or removes the gtpu header
type to be matched for traffic classification.
Syntax
traffic-type gtpu
ip
[
A.B.C.D
|
X:X::X:X
|
any
]
traffic-type gtpu
mode
[
decap
|
new-scope
]
traffic-type gtpu
teid
teid-value
no
traffic-type
[
ip
|
mode
|
teid
]
Parameters
- gtpu
- Specifies the gtpu header to be matched for
classifying the packet.
- ip
- Specifies the actions for
matching packets.
- A.B.C.D
- Specifies the
IPv4 address.
- X:X::X:X
- Specifies the
IPv6 address.
- any
- Specifies any
source IP address.
- mode
- Specifies the actions for
matching packets.
- decap
- Removes the
encapsulated header.
- new-scope
- Shifts the scope
of headers to inner headers for further processing.
- teid
teid-value
- Specifies the teid value. Valid TEID range is 1-4294967295.
Modes
Ingress-group config
mode
Usage Guidelines
Validations for the command are as follows:
- This command is available only to users with the admin
role.
- Valid decapsulation type and
corresponding ID must be provided.
- Only one traffic type per ingress
group is allowed.
- The configured traffic type
must be removed before you configure a new traffic
type.
- Both IPv4 and IPv6 addresses are
supported.
- Valid IP addresses must be provided. The following IP addresses are not
valid:
- Unspecified IPv4 address (0.0.0.0)
- Broadcast IPv4 address (255.255.255.255)
- Unspecified IPv6 address (“::”)
- Broadcast IPv6 address
(ffff:fffff:fffff:fffff:fffff:ffff:fffff:ffff)
- Existing traffic type cannot be configured
again with a different ID or scope.
- The mode of the existing traffic type can be
deleted, but cannot be modified. The existing mode must be removed and
reconfigured with the new mode.
- The overlapping IP combination
between different ingress-group traffic-type is not
allowed.
- If the same command is run more
than once, the second and subsequent instances are ignored
and no error is reported.
- The no form of the
command removes both traffic type and mode even if the mode is not
specified.
- If the no form of the command is run
without the configuration, the command is ignored and no
error is reported.
Examples
The following example configures the gtpu traffic
type with decap mode.
device(config-ingress-group)# traffic-type gtpu teid 3000 mode decap
device(config-ingress-group)# end
device# show running-config ingress-group ing
ingress-group ing
traffic-type gtpu teid 3000
traffic-type gtpu ip any any
device# conf t
device(config)# ingress-group ing
device(config-ingress-group)# no traffic-type gtpu teid
device(config-ingress-group)# traffic-type gtpu teid 5000 mode decap
show ingress-group ing
Name : ing
Route-Map : -
Description : -
Interfaces : none
Traffic-Type : GTPU
Tunnel-Id : 5000
Mode : decap
Destination-ip-addr : any
Source-ip-addr : any
device# show running-config ingress-group
ingress-group ing
traffic-type gtpu teid 5000 mode decap
traffic-type gtpu ip any any
device# conf t
device(config)# ingress-group ing
device(config-ingress-group)# no traffic-type gtpu teid
device(config-ingress-group)# end
device# show running-config ingress-group
ingress-group ing
traffic-type gtpu mode decap
traffic-type gtpu ip any any